package com.imooc.security.user;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class UserInfo {

    private Long id;

    private String name;

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;


}
